package com.atguigu.edu.realtime.common.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * {
 * "appVideo": {						--视频信息
 * "play_sec": 19,					--播放时长
 * "position_sec":390,				--播放进度
 * "video_id": "3904"				--视频id
 * },
 * "common": {
 * "ar": "4",
 * "ba": "Sumsung",
 * "ch": "oppo",
 * "is_new": "0",
 * "md": "Sumsung Galaxy S20",
 * "mid": "mid_253",
 * "os": "Android 11.0",
 * "sc": "1",
 * "sid": "47157c4a-4790-4b9a-a859-f0d36cd62a10",
 * "uid": "329",
 * "vc": "v2.1.134"
 * },
 * "err":{
 * "error_code":3485,
 * "msg":"java.net.SocketTimeoutException"
 * },
 * "ts": 1645526307119
 * }
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DwdPlayVideoBean {
    //来源id sc
    String sourceId;
    //省份
    String provinceId;
    //uid
    String userId;
    //操作系统对应于 os
    String operatingSystem;
    //ch
    String channel;
    //isNew
    String isNew;
    //md
    String model;
    //mid
    String machineId;

    //版本号
    String versionCode;

    //ba
    String brand;

    //"sid"
    String sessionId;

    //"play_sec": -播放时长
    Integer playSec;

    //position_sec"
    Integer positionSec;

    //vid
    String videoId;

    // 时间戳
    Long ts;
}
